package com.lagou.sqlSession;

import com.lagou.pojo.Configuration;
import com.lagou.pojo.MappedStatement;

import java.util.List;

/**
 * @author dcwu5
 * @date 2020-05-23
 * @description
 */
public interface Excutor {
    // 查询
    <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params);
    int update(Configuration configuration, MappedStatement mappedStatement, Object[] params);
}
